using System;
using Gtk;

public partial class MainWindow : Gtk.Window
{
	public MainWindow () : base(Gtk.WindowType.Toplevel)
	{
		Build ();
		mnuMenu.WidthRequest = this.DefaultWidth;
	}

	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
	{
		Application.Quit ();
		a.RetVal = true;
	}

	
	protected virtual void OnConexoActionActivated (object sender, System.EventArgs e)
	{
		Reverso.Configuracao janelaConfiguracao = new Reverso.Configuracao();
		janelaConfiguracao.Show();
		//Reverso.DataObjects.DBHelper db = new Reverso.DataObjects.DBHelper();
	}
	
	protected virtual void OnRecuperarActionActivated (object sender, System.EventArgs e)
	{
		Reverso.BusinessObjects.Tabela TabelaBO = new Reverso.BusinessObjects.Tabela();
		TabelaBO.Buscar();
			
	}
	
	
	
	
}
